#pragma once
#include "IGameState.h"
#include "../SGD Wrappers/SGD_Handle.h"


class Menu;

class CreditsState : public IGameState
{
public:
	//Singleton accessor
	static CreditsState* GetInstance();

	//IGameStateInterface
	virtual void Enter() override; //load resources
	virtual void Exit() override; //unload resources
	virtual bool Input() override; //handle user input
	virtual void Update(float elapsedTime) override; //update entities
	virtual void Render() override; //render entities/menu items

private:
	CreditsState() = default;
	virtual ~CreditsState() = default;
	CreditsState(const CreditsState&) = delete;
	CreditsState& operator=(const CreditsState&) = delete;

	Menu* menu = nullptr;
	SGD::HTexture background = SGD::INVALID_HANDLE;

};

